﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;

namespace Barbar.Colonization.Model {
  public class CityStoreType : BuildingType {
    private Collection<IRawMaterialType> m_RawMaterialTypes;
    private int m_MaxCargoPerItem;

    public IEnumerable<IRawMaterialType> RawMaterialTypes {
      get { return m_RawMaterialTypes; }
    }

    public int MaxCargoPerItem {
      get { return m_MaxCargoPerItem; }
      set { m_MaxCargoPerItem = value; }
    }

    public CityStoreType(int maxCargoPerItem, Collection<IRawMaterialType> rawMaterialTypes) {
      m_MaxCargoPerItem = maxCargoPerItem;
      m_RawMaterialTypes = rawMaterialTypes;
    }
  }
}
